﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Clmp.Data.DBEntity2
{
    public interface IDbEntityServer
    {
        string GetInsertSqlString<T>(T entity) where T : Entity;
        string GetUpdateSqlString<T>(T entity) where T : Entity;
        string GetDeleteSqlString<T>(int id) where T : Entity;
        string GetGetOneSqlString<T>(int id) where T : Entity;
        string GetPrimaryKeyName<T>() where T : Entity;
    }
}
